package com.renmindangjiazuozu.liyongji;
public class Venom {
    private String id;
    private String name;
    private  String color;
    private  String character;
    private  String home;
    public String getId() {

        return id;
    }
    public void setId(String id) {

        this.id = id;
    }
    public String getName() {

        return name;
    }
    public void setName(String name) {

        this.name = name;
    }
    public String getColor() {

        return color;
    }
    public void setColor(String color) {
        this.color = color;
    }
    public String getCharacter() {

        return character;

    }
    public void setCharacter(String character) {

        this.character = character;

    }
    public String getHome() {

        return home;

    }
    public void setHome(String home) {

        this.home = home;

    }

    public void show(){

        System.out.println("编号是:" + id + "," + "名字:" + name + "," + "颜色:" + color + "," + "特征:" + character + "," + "来自:" + home);

    }
    @Override
    public String toString() {
        return "动物类名venom{" +
                "动物id='" + id + '\'' +
                ", 动物名称'" + name + '\'' +
                '}';
    }
    public void eatFood(){
        System.out.println();
    }
}

